<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!-- ----------------------------------- start head ----------------------------------- -->
<header>
	<div class="top center">
		<div class="left fl" style="padding-left: 60px;">
			嗨，欢迎来到azhuo商城！
		</div>
		<div class="right fr">
			<div class="fr">
				<ul style="padding-right: 60px;">
					<c:choose>
						<%-- 用户未登录是显示 --%>
						<c:when test="${empty user}">
							<jsp:include page="/jsps/includes/registerAndLoginMenu.jsp"/>
						</c:when>
						<%-- 用户登录后显示 --%>
						<c:otherwise>
							<jsp:include page="/jsps/includes/menu.jsp"/>
						</c:otherwise>
					</c:choose>
				</ul>
			</div>
			<div class="clear"></div>
		</div>
		<div class="clear"></div>
	</div>
</header>

<!-- ----------------------------------- end head ----------------------------------- -->